package com.example.demo.buessiness.department.model.po;


import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/*
 *
 *
 *
 * */

@Entity
@Table(name = "department",schema="test")
@Getter
@Setter


public class Department implements Serializable {

    @Id
    @Column(name="ID",nullable = false)
    private Long id;//部门ID

    @Column(name="DEPARTMENT")
    private String department;//部门名称

    @Column(name = "COMPANY")
    private String company;//公司名称



}
